<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib">

	<rich:panel>
		<f:facet name="header">
			<h:outputText value="#{messages['title.exchange.rate.list']}"></h:outputText>
		</f:facet>
		<div class="jd_news_scroll" id="exchange_rate">
		<ul>
			<ui:repeat value="#{currencies}" var="currency">
				<li>
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td width="40px"><h:graphicImage alt="#{messages['label.image.alt']}"
							value="/theme/default/images/flags/#{currency.valuta.oznaka}.png"
							height="11" width="15">
						</h:graphicImage></td>
						<td width="40px">#{currency.valuta.oznaka}</td>
						<td width="40px">#{currency.valuta.jedinica}</td>
						<td width="60px">#{currency.srednji}</td>
					</tr>
				</table>
				</li>
			</ui:repeat>
		</ul>
		</div>
	</rich:panel>

</ui:component>
